home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ WinNT RAS Options 6.xpl < prev    next >
Text File  |  2004-02-21  |  1KB  |  45 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH 1"="Network\RAS & DUN"
  5. "UIPATH 2"="Startup/Shutdown\Startup\Windows NT/2K/XP\31) Inside Login Window"
  6. "NAME"="Login Window: Dial-up Checkbox Enabled"
  7. "VERSION"="1.12"
  8. "LANGUAGE"="VBScript"
  9. "OSVERSION"="0101011"
  10. "TEXT 1"="Allow activating "Logon using dial-up connection""
  11. "DESCRIPTION 1"="If this computer is connected to a domain, the checkbox "Logon using dial-up connection" is available inside the Login window."
  12. "DESCRIPTION 2"="To prevent the users from using this feature, you might disable it here- this will cause the checkbox to appear grayed out so users can not select it."
  13. "AUTHOR"="Xteq Systems"
  14. "CONTACTURL"="http://www.xteq.com"
  15. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  16. "COMMENT 1"="Thanks to Quitch for the idea!"
  17.  
  18.  
  19. v1="HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\RasDisable" 'STR
  20.  
  21. Sub Plugin_Initialize 
  22.  i=RegReadValue(v1)
  23.  if i<>"1" then SetUIElement 1,true
  24. End Sub
  25.  
  26. Sub Plugin_CheckData(ElementIndex)
  27. End Sub
  28.  
  29. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  30.  b=GetUIElement(1)
  31.  if b=true then
  32.     if RegValueExists(V1) then Call RegDeleteValue(V1)
  33.  else
  34.     Call RegWriteValue(v1,"1",1)
  35.  end if
  36.  
  37.  Call Restart()
  38. End Sub
  39.  
  40. Sub Plugin_Terminate 
  41. End Sub
  42.  
  43.  
  44.  
  45.